html,
body {
    width: 100%;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

// 版心
.w {
    width: 1280px;
    margin: 0 auto;
}

// header start
.header {
    .header-search {
        width: 818px;
        height: 40px;
        // background-color: pink;
        padding-left: 462px;
        z-index: 9999;
    }
    ul {
        list-style: none;
    }
    ul li {
        float: left;
        line-height: 40px;
    }
    ul li a {
        text-decoration: none;
        padding: 0px 10px;
        color: #333;
        border-right: 1px dashed #bfbfbf;
    }
    .zhannei-sousuo {
        margin-left: 10px;
        padding-left: 18px;
        border: none;
        width: 232px;
        font-size: 16px;
        border-bottom: 1px solid #676767;
    }
    ul li:nth-last-child(1) {
        position: relative;
    }
    .icon-fangdajing {
        position: absolute;
        color: #676767;
        font-size: 14px;
        left: 14px;
        top: 2px;
    }
}

// logo行开始
.logoBox {
    height: 51px;
    // background-color: pink;
    margin-top: 6px;
    margin-bottom: 58px;
    .logo {
        width: 50px;
        height: 51px;
    }
    ul li {
        float: left;
        line-height: 51px;
        font-weight: bold;
    }
    ul li a {
        color: black;
        padding: 0px 34px;
        border-right: black 1px dashed;
    }
    ul li a:hover {
        color: red;
    }
    .logoRight {
        width: 560px;
        height: 51px;
        background-color: #a1a1a1;
    }
    ol li {
        float: left;
        font-weight: bold;
        text-align: center;
    }
    .dashed {
        height: 20px;
        width: 0px;
        border-right: dashed 1px #333;
    }
    ol li a {
        color: white;
        line-height: 51px;
        // text-align: center;
        padding: 0px 20px;
        background-color: #a1a1a1;
        border-right: dashed 1px white;
    }
    ol li a:hover {
        color: red;
    }
    .gonggao {
        border: none;
    }
    .dianpu {
        border: none;
        display: block;
        height: 51px;
        width: 68px;
        background-color: #666666;
    }
}

// 回到顶部
.back-top {
    width: 50px;
    height: 50px;
    background: url("../images/back-top.png") no-repeat center;
    position: fixed;
    right: 100px;
    bottom: 100px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0px 0px 5px 0px rgb(109, 107, 107);
    // display: none;
}

// 图片及内容
section {
    height: 814px;
    .section-left {
        .s-left {
            width: 80px;
            margin-left: 30px;
            .smallImg {
                height: 570px;
                width: 80px;
                overflow: hidden;
                ol {
                    width: 80px;
                    height: 100px;
                }
                ol li {
                    margin-top: 2px;
                }
                ol li img {
                    width: 80px;
                    height: 80px;
                }
            }
            // 上下箭头
            .icon-fanye-r {
                top: -30px;
                left: 26px;
                font-size: 30px;
                color: #ccc;
            }
            .icon-fanye-b {
                bottom: -30px;
                left: 26px;
                font-size: 30px;
                color: #ccc;
            }
        }
        .s-middle {
            width: 498px;
            margin-left: 50px;
            border: 1px solid #ccc;
            box-sizing: border-box;
            .middleImg {
                width: 498px;
                height: 498px;
                img {
                    width: 498px;
                    height: 498px;
                }
                // 蒙版区域
                .middleArea {
                    width: 100px;
                    height: 100px;
                    z-index: 99999;
                    background-color: #36c;
                    opacity: 0.4;
                    left: 0;
                    top: 0;
                    display: none;
                }
            }
            // 左右箭头
            .icon-fanyeico {
                font-size: 40px;
                color: #ccc;
                right: 890px;
                top: 380px;
            }
            .icon-fanyejiantouxi {
                font-size: 40px;
                color: #ccc;
                left: 434px;
                top: 380px;
            }
        }
        // 大图大区域
        .bigArea {
            width: 500px;
            height: 500px;
            border: 1px solid #ccc;
            box-sizing: border-box;
            z-index: 9999;
            margin-left: 50px;
            overflow: hidden;
            display: none;
            top: 154px;
            left: 1000px;
            .bigImg {
                width: 1000px;
                height: 1000px;
                position: absolute;
                top: 0;
                left: 0;
                // background-color: pink;
            }
        }
    }
    .s-right {
        width: 560px;
        .sr-title {
            height: 22px;
            line-height: 22px;
            font-size: 18px;
            font-weight: bold;
        }
        .price {
            margin-top: 22px;
            height: 26px;
            line-height: 26px;
            font-size: 22px;
            font-weight: bold;
        }
        .prev-price1,
        .prev-price2 {
            font-size: 12px;
            color: #7d7d7d;
        }
        .prev-price1 {
            margin-left: 200px;
        }
        .prev-price2 {
            font-weight: bold;
        }
        .server-quality {
            .icon-start {
                font-size: 16px;
                color: #ebbe00;
            }
        }
        .act {
            height: 34px;
            line-height: 34px;
            margin-top: 14px;
            .act-act {
                font-size: 16px;
                font-weight: bold;
            }
            .act-orders {
                margin-left: 40px;
                color: red;
                font-size: 12px;
                font-weight: bold;
            }
        }
        .color-content {
            margin-top: 24px;
            height: 18px;
            line-height: 18px;
            font-size: 16px;
            font-weight: bold;
        }
        .color-square1 {
            width: 40px;
            height: 40px;
            margin-top: 20px;
            background-color: #302c2d;
            border: 1px solid #a1a1a1;
            box-shadow: 0px 0px 2px 1px #a1a1a1;
        }
        .color-square2 {
            width: 40px;
            height: 40px;
            margin-top: 20px;
            margin-left: 10px;
            margin-right: 10px;
            background-color: #e0d7c5;
            border: 1px solid #a1a1a1;
            box-shadow: 0px 0px 2px 1px #a1a1a1;
        }
        .color-square3 {
            width: 40px;
            height: 40px;
            margin-top: 20px;
            background-color: #333542;
            border: 1px solid #a1a1a1;
            box-shadow: 0px 0px 2px 1px #a1a1a1;
        }
        .size {
            height: 60px;
            line-height: 60px;
            font-size: 12px;
            font-weight: bold;
            margin-top: 62px;
        }
        .select-size {
            li {
                height: 34px;
                width: 75px;
                text-align: center;
                line-height: 34px;
                font-family: LTMedium;
                font-size: 12px;
                font-weight: bold;
                border: 1px solid #ccc;
                box-sizing: border-box;
                display: inline-block;
                margin-right: 10px;
                margin-bottom: 10px;
            }
        }
        // 尺码表
        .size-img {
            width: 24px;
            height: 24px;
        }
        .size-list {
            height: 24px;
            font-size: 12px;
            font-weight: bold;
            margin-left: 10px;
            line-height: 24px;
        }
        // 推荐
        .recommend {
            margin-top: 30px;
            height: 18px;
            font-size: 14px;
            line-height: 18px;
            span:nth-child(1) {
                font-weight: bold;
            }
            span:nth-child(2) {
                font-weight: bold;
                padding: 0px 90px 0px 25px;
            }
            .person-size {
                color: black;
                font-size: 14px;
                font-weight: bold;
                text-decoration: underline;
            }
        }
        // 配送方式
        .delivery-method {
            width: 560px;
            height: 42px;
            line-height: 42px;
            font-size: 12px;
            font-weight: bold;
            margin-top: 4px;
            // background-color: skyblue;
            input {
                margin: 0px 5px;
            }
        }
        // 配送至
        .delivery-to {
            font-weight: bold;
            span:nth-child(1) {
                text-decoration: underline;
                padding-left: 10px;
            }
            span:nth-child(3) {
                padding: 0px 5px 0px 20px;
            }
            span:nth-child(4) {
                color: #378694;
            }
        }
        // 修改裤长
        .xiugai {
            height: 38px;
            line-height: 38px;
            font-weight: bold;
            .xiugai-right a {
                font-size: 14px;
                font-weight: bold;
                color: #333;
                text-decoration: underline;
            }
            .no-xiugai {
                height: 41px;
                width: 300px;
                padding-left: 4px;
                border-bottom: 1px solid #ababab;
            }
            .icon-a-daosanjiaoxingmianxing {
                top: 40px;
                left: 280px;
                color: black;
            }
        }
        // 礼品包选择
        .gift-pack-select {
            font-weight: bold;
            margin-top: 50px;
            .gp-select-left,
            .gp-select-right {
                height: 38px;
                line-height: 38px;
            }
            .gp-select-right a {
                color: black;
                text-decoration: underline;
            }
            .no-xuyao {
                height: 41px;
                width: 300px;
                padding-left: 4px;
                top: 30px;
                left: 0px;
                border-bottom: 1px solid #ababab;
            }
            .icon-a-daosanjiaoxingmianxing {
                top: 42px;
                left: 280px;
            }
        }
        // 数量
        .number {
            height: 74px;
            line-height: 74px;
            // background-color: pink;
            margin-top: 110px;
            span:nth-child(1) {
                font-weight: bold;
            }
            input {
                width: 76px;
                height: 40px;
                border: 1px solid #ababab;
            }
            button {
                width: 44px;
                height: 44px;
                // border: none;
                font-size: 20px;
                font-weight: bold;
                background-color: rgba(255, 255, 255, 0);
            }
            .save-enought {
                color: #ccc;
            }
        }
        // 购买 / 加购物车
        .buy-now {
            height: 50px;
            width: 176px;
            text-align: center;
            line-height: 50px;
            font-weight: bold;
            border: 1px solid red;
            color: red;
            box-sizing: border-box;
            margin-right: 10px;
            margin-top: 20px;
        }
        .add {
            height: 50px;
            width: 176px;
            text-align: center;
            line-height: 50px;
            font-weight: bold;
            color: white;
            background-color: red;
            margin-top: 20px;
            margin-right: 10px;
        }
        .check_gouwuche {
            height: 50px;
            width: 176px;
            text-align: center;
            line-height: 50px;
            font-weight: bold;
            color: white;
            background-color: red;
            margin-top: 20px;
            margin-right: 10px;
        }
        // 无理由退换货
        .zhichi {
            margin-top: 20px;
            margin-right: 32px;
        }
        .fenxiangsahngpin {
            margin-top: 20px;
            margin-right: 30px;
            img {
                width: 18px;
                height: 18px;
            }
        }
        .shoucangshangpin {
            margin-top: 20px;
            img {
                width: 15px;
                height: 15px;
            }
        }
    }
}

// 底部、
.footer {
    margin-top: -80px;
    height: 8506px;
    .footer-left {
        height: 1050px;
        width: 270px;
        .left-fiest {
            width: 270px;
            height: 264px;
        }
        .left-second {
            width: 268px;
            height: 104px;
            margin: 4px auto 0px;
        }
        // 商品分类
        .category {
            margin-top: 10px;
            height: 18px;
            line-height: 18px;
            ul li {
                margin: 10px 0px;
            }
            ul li:nth-child(1) {
                i {
                    display: inline-block;
                    content: "";
                    width: 5px;
                    height: 13px;
                    margin-left: 12px;
                    vertical-align: middle;
                    background-color: #3c3c3c;
                }
                span {
                    margin-left: 9px;
                    font-size: 14px;
                    font-weight: bold;
                    font-family: LTMedium;
                }
            }
            ul li {
                i img {
                    display: inline-block;
                    margin-left: 12px;
                    width: 14px;
                    height: 14px;
                }
                a {
                    display: inline-block;
                    margin-left: 9px;
                    color: black;
                    font-family: LTMedium;
                    font-weight: bold;
                }
            }
            ul li:nth-child(3) {
                a {
                    display: inline-block;
                    margin-left: 36px;
                    color: black;
                    font-family: LTMedium;
                    font-weight: bold;
                }
            }
        }
    }
    // 右边tab栏切换
    .box {
        width: 992px;
        height: 8506px;
        overflow: hidden;
        .hd {
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #ababab;
            span {
                padding: 6px 124px;
                line-height: 40px;
                text-align: center;
            }
            span.current {
                border-bottom: 4px solid #378694;
            }
        }
        .bd {
            li {
                height: 8506px;
                display: none;
            }
            li.current {
                display: block;
            }
        }
    }
}

// 下面导航栏
.footer1 {
    height: 50px;
    margin-top: 100px;
    background-color: pink;
    .footerLogo {
        width: 50px;
        height: 50px;
    }
    .footerNav {
        width: 1230px;
        height: 50px;
        background-color: #000;
    }
    ul {
        width: 1230px;
        height: 30px;
        padding: 10px 0px;
    }
    ul li {
        width: 306px;
        height: 30px;
        text-align: center;
        border-right: 1px dashed white;
        float: left;
        line-height: 30px;
    }
    ul li a {
        color: white;
    }
    ul li:nth-last-child(1) {
        border: none;
    }
    ul li:hover a {
        color: red;
    }
}

// 最下面的安全公告
.footer2 {
    height: 123px;
    line-height: 280px;
    color: #989a98;
}